package com.example.webbasic.listener;

import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextStoppedEvent;
import org.springframework.stereotype.Component;

/**
 * 未生效，TODO
 * @author ben
 * @date 2021-11-06 20:33:47 CST
 */
@Component
public class AppContextStoppedListener implements ApplicationListener<ContextStoppedEvent> {

	@Override
	public void onApplicationEvent(ContextStoppedEvent event) {
		System.out.println("ContextStoppedEvent event=" + event + ", 停止");
	}

}
